package com.xw.unification.annotations;

import com.xw.unification.entity.request.RepeatableRequestEmptyRewriter;
import com.xw.unification.interfaces.RepeatableRequestRewriter;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 签名验证注解
 *
 * @author qiwei
 * @date 2023-8-14 15:38:10
 * @since v1.0.0
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface RequestRewrite {

    Class<? extends RepeatableRequestRewriter> rewriter() default RepeatableRequestEmptyRewriter.class;

}
